package com.xiaomai.eduorder.client;


import com.xiaomai.commonutil.ordervo.CourseOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("service-edu")
public interface EduClient {
    @PostMapping("/eduservice/courseFront/getOrderCourseInfo/{id}")
    public CourseOrderVo getOrderCourseInfo(@PathVariable("id") String id);
}
